package com.nathan.crm.dao;

import com.nathan.base.BaseMapper;
import com.nathan.crm.vo.CustomerOrder;

public interface CustomerOrderMapper extends BaseMapper<CustomerOrder,Integer> {

    // 根据订单号查询订单
    CustomerOrder selectByOrderNo(String orderNo);

    // 更具客户id查询其最后的订单下单日期
    CustomerOrder queryLastOrderByCusId(Integer cusId);
}